<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h2>卖座电影展示</h2>
    <hr>
    <ul>
        <li>正在热映</li>
        <li>即将上映</li>
    </ul>
</body>
<!-- axios -->
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.26.1/axios.js"></script>

<script>

    function getMovieList(page = 1, pageSize = 10) {
        let url = `https://m.maizuo.com/gateway?cityId=440300&pageNum=${page}&pageSize=${pageSize}&type=2&k=6875894`;

        axios.get(url).then(function (res) {
            console.log(res);
        })

    }


    getMovieList();



</script>


</html>